@extends('admin.common.admin_main')
@section('container')
<div class="uc-body">
    <div class="uc-head">
        <ul>
            <li><span>技术详情</span></li>
        </ul>
    </div>
    <div class="form form-horizontal">
        <div class="form-body">
            <div class="row">
                <div class="label">技术名称：</div>
                <div class="control-text">
                    <div class="static">{{$dataInfo['tech_name']}}</div>
                </div>
            </div>
            <div class="row">
                <div class="label">应用领域：</div>
                <div class="control-text">
                    <div class="static">
                        @forelse ($dataInfo['tech_domain_id'] as $key=>$value)
                            {{$getNameList[$value]['name']}}
                        @empty
                        @endforelse
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="label">产品名称：</div>
                <div class="control-text">
                    <div class="static">{{$dataInfo['tech_product_name']}}</div>
                </div>
            </div>
            <div class="row">
                <div class="label">适用范围：</div>
                <div class="control-text">
                    <div class="static">{{$dataInfo['tech_used_range']}}</div>
                </div>
            </div>
            <div class="row">
                <div class="label">技术内容：</div>
                <div class="control-text">
                    <div class="static">{!! $dataInfo['tech_content'] !!}</div>
                </div>
            </div>
            @if ($dataInfo['patent_list'])
                <div class="row">
                    <div class="label">技术专利：</div>
                </div>
                <table class="table">
                    <thead>
                    <tr>
                        <th>申请号</th>
                        <th>申请日期</th>
                        <th>授权号</th>
                        <th>专利类型</th>
                        <th>批准日期</th>
                        <th>有效期</th>
                    </tr>
                    </thead>
                    <tbody>
                        @forelse ($dataInfo['patent_list'] as $key=>$value)
                                <tr>
                                    <td><div class="tit">{{$value[0]}}</div></td>
                                    <td>{{$value[1]}}</td>
                                    <td>{{$value[2]}}</td>
                                    <td>{{$value[3]}}</td>
                                    <td>{{$value[4]}}</td>
                                    <td>{{$value[5]}}</td>
                                </tr>
                            @empty
                            @endforelse
                    </tbody>
                </table>
            @endif
        </div>
    </div>
</div>
@endsection
